package com.dody.junit;

/**
 * @author ShiXin
 * @date 2019/4/19 21:05
 * @description lite-junit
 */
public class Calculator {

    private int result = 0;

    public void add(int x) {
        result += x;
    }

    public void substract(int x) {
        result -= x;
    }

    public int getResult() {
        return this.result;
    }
}
